﻿using BluetoothMachine.ViewModels.DialogHostsModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace BluetoothMachine.Views
{
    /// <summary>
    /// MainTwo.xaml 的交互逻辑
    /// </summary>
    public partial class MainTwo : Window
    {
        public MainTwo()
        {
            InitializeComponent();
            DataContext = new MainTwoDialogModel();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            //var screen = Screen.AllScreens;
            //int count = 1;
            //if (screen.Length == count)
            //{
            //    MessageBox.Show("没有检测到第二块屏幕", "精朗联合");
            //    Application.Current.Shutdown();
            //    return;
            //}

            Top = 0;
            Left = 1920;

            Width = 1920;
            Height = 1080;
        }
    }
}
